﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Core.Data
{
    /// <summary>
    /// 版本管理服务操作结果
    /// </summary>
    [DataContract]
    public class VersionFileResult
    {

        /// <summary>
        /// 文件全名
        /// </summary>
        [DataMember]
        public string FullName { get; set; }

        /// <summary>
        /// 文件描述
        /// </summary>
        [DataMember]
        public string Extension { get; set; }

        /// <summary>
        /// 文件数据
        /// </summary>
        [DataMember]
        public byte[] Data { get; set; }

        /// <summary>
        /// 文件最后变更集
        /// </summary>
        [DataMember]
        public double LatestChangeset { get; set; }

        /// <summary>
        /// 文件最后变更用户
        /// </summary>
        [DataMember]
        public string LatestChangesetUser { get; set; }

        [DataMember]
        public DateTime LatestChangesetDate { get; set; }

    }
}
